<?php
/**
 * @Author: Marte
 * @Date:   2017-08-20 14:31:47
 * @Last Modified by:   Marte
 * @Last Modified time: 2017-08-20 20:28:31
 */


?>
<div class="user_min">
    <span class="user_min_title">用户管理</span>
    <!-- 搜索框 -->
<form action="search_admin_func.php" method="post" accept-charset="utf-8">
    <input class="search" type="text" name="search" >
    <input class="submit" type="submit" name="submit" value="搜索">
</form>
<ul>

<?php
        while ($_assoc3=$_result3->fetch_assoc()) {

?>
    <li>
        <i><img src='../<?php echo $_assoc3['headicon'];?>' alt=""></i>
        <div class="right">
            <span class="nickname"><?php echo $_assoc3['nickname'];?></span>

        <p class="all"><span class="isvip">
            <?php
            $ss=$_assoc3['isvip'];
            switch($ss)
            {
                case '1':echo 'vip';break;
                case '0':echo '普通成员';break;
            }
            ?>
        </span><span class="rank"><?php echo $_assoc3['rank'];?></span><span class="times">注册时间:    <?php echo $_assoc3['regtime'];?></span></p>
        <p class="cao">
        <a href="admin_index.php?type=8&id=<?php echo $_assoc3['id'];?>" title="">详情</a>
        <?php
            if($_assoc3['issign']==1)
            {
                echo '<a href="admin_index.php?type=4" title="">已标记</a>';
            }
            else{
                echo '<a href="admin_index.php?type=4&sign='.$_assoc3['id'].'" title="">标记</a>';
            }
        ?>

        <a href="admin_index.php?type=4&delh=<?php echo $_assoc3['id'];?>" title="">加入黑名单</a>
        </p>
        </div>
        <div class="clear">

        </div>
    </li>
  <?php
        }
  ?>


</ul>
             <div class="num1">
                          <?php
                            for($i=0;$i<$_pagesnum1;$i++)
                            {
                              echo '<a href="admin_index.php?type=4&page1='.($i+1).'">'.($i+1).'</a>';
                            }
                            echo '<a href="admin_index.php?type=4&page1='.($_page+1).'" >></a>';
                        ?>
            </div>
            <div class="clear">

                    </div>

</div>